\hypertarget{group__KernelObject}{
\section{KernelObject}
\label{group__KernelObject}\index{KernelObject@{KernelObject}}
}
\subsection*{组合类型}
\begin{DoxyCompactItemize}
\item 
struct \hyperlink{structrt__object}{rt\_\-object}
\item 
struct \hyperlink{structrt__object__information}{rt\_\-object\_\-information}
\end{DoxyCompactItemize}
\subsection*{宏定义}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{group__KernelObject_gadc83c17483bce09fad91cc8b2a3d0ed5}{RT\_\-OBJECT\_\-FLAG\_\-MODULE}~0x80
\item 
\#define \hyperlink{group__KernelObject_ga40f88eaca0029aea304a7757c85431b8}{RT\_\-OBJECT\_\-HOOK\_\-CALL}(func, argv)
\end{DoxyCompactItemize}
\subsection*{类型定义}
\begin{DoxyCompactItemize}
\item 
typedef struct \hyperlink{structrt__object}{rt\_\-object} $\ast$ \hyperlink{group__KernelObject_ga91d74b4f1699da278153af455dadcd70}{rt\_\-object\_\-t}
\end{DoxyCompactItemize}
\subsection*{枚举}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}{rt\_\-object\_\-class\_\-type} \{ \hyperlink{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52}{RT\_\-Object\_\-Class\_\-Thread} =  0, 
\hyperlink{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12}{RT\_\-Object\_\-Class\_\-Timer}, 
\hyperlink{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74}{RT\_\-Object\_\-Class\_\-Unknown}, 
\hyperlink{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec}{RT\_\-Object\_\-Class\_\-Static} =  0x80
 \}
\end{DoxyCompactItemize}
\subsection*{函数}
\begin{DoxyCompactItemize}
\item 
\hypertarget{group__KernelObject_ga0126bb4a5edd998ff952e1129e9e0cb9}{
void {\bfseries rt\_\-system\_\-object\_\-init} (void)}
\label{group__KernelObject_ga0126bb4a5edd998ff952e1129e9e0cb9}

\item 
\hypertarget{group__KernelObject_ga1b490eef8714a5a18ca9bd2f307a34de}{
struct \hyperlink{structrt__object__information}{rt\_\-object\_\-information} $\ast$ {\bfseries rt\_\-object\_\-get\_\-information} (enum \hyperlink{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}{rt\_\-object\_\-class\_\-type} type)}
\label{group__KernelObject_ga1b490eef8714a5a18ca9bd2f307a34de}

\item 
\hypertarget{group__KernelObject_ga0a86356c83e8264841fcb83255f72014}{
void {\bfseries rt\_\-object\_\-init} (struct \hyperlink{structrt__object}{rt\_\-object} $\ast$object, enum \hyperlink{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}{rt\_\-object\_\-class\_\-type} type, const char $\ast$name)}
\label{group__KernelObject_ga0a86356c83e8264841fcb83255f72014}

\item 
\hypertarget{group__KernelObject_gad3a5cf0c036738c6f0ee560a62bc93be}{
void {\bfseries rt\_\-object\_\-detach} (\hyperlink{structrt__object}{rt\_\-object\_\-t} object)}
\label{group__KernelObject_gad3a5cf0c036738c6f0ee560a62bc93be}

\item 
\hypertarget{group__KernelObject_ga661bb999394a29404c20c7f3e58e5f64}{
\hyperlink{structrt__object}{rt\_\-object\_\-t} {\bfseries rt\_\-object\_\-allocate} (enum \hyperlink{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}{rt\_\-object\_\-class\_\-type} type, const char $\ast$name)}
\label{group__KernelObject_ga661bb999394a29404c20c7f3e58e5f64}

\item 
\hypertarget{group__KernelObject_ga0479fb23b766d96e9611ed32becc2797}{
void {\bfseries rt\_\-object\_\-delete} (\hyperlink{structrt__object}{rt\_\-object\_\-t} object)}
\label{group__KernelObject_ga0479fb23b766d96e9611ed32becc2797}

\item 
\hypertarget{group__KernelObject_ga0b4471fdda93017477bc81ca357481ac}{
\hyperlink{group__BasicDef_ga3e03a3519ef7e33d13ebd34c482db49c}{rt\_\-bool\_\-t} {\bfseries rt\_\-object\_\-is\_\-systemobject} (\hyperlink{structrt__object}{rt\_\-object\_\-t} object)}
\label{group__KernelObject_ga0b4471fdda93017477bc81ca357481ac}

\item 
\hypertarget{group__KernelObject_ga6c82dbb4ae114918c5c96d0dca3957eb}{
\hyperlink{structrt__object}{rt\_\-object\_\-t} {\bfseries rt\_\-object\_\-find} (const char $\ast$name, \hyperlink{group__BasicDef_ga585e2ad0fbab0f83817cb61373465df6}{rt\_\-uint8\_\-t} type)}
\label{group__KernelObject_ga6c82dbb4ae114918c5c96d0dca3957eb}

\end{DoxyCompactItemize}


\subsection{宏定义文档}
\hypertarget{group__KernelObject_gadc83c17483bce09fad91cc8b2a3d0ed5}{
\index{KernelObject@{KernelObject}!RT\_\-OBJECT\_\-FLAG\_\-MODULE@{RT\_\-OBJECT\_\-FLAG\_\-MODULE}}
\index{RT\_\-OBJECT\_\-FLAG\_\-MODULE@{RT\_\-OBJECT\_\-FLAG\_\-MODULE}!KernelObject@{KernelObject}}
\subsubsection[{RT\_\-OBJECT\_\-FLAG\_\-MODULE}]{\setlength{\rightskip}{0pt plus 5cm}\#define RT\_\-OBJECT\_\-FLAG\_\-MODULE~0x80}}
\label{group__KernelObject_gadc83c17483bce09fad91cc8b2a3d0ed5}
is module object. \hypertarget{group__KernelObject_ga40f88eaca0029aea304a7757c85431b8}{
\index{KernelObject@{KernelObject}!RT\_\-OBJECT\_\-HOOK\_\-CALL@{RT\_\-OBJECT\_\-HOOK\_\-CALL}}
\index{RT\_\-OBJECT\_\-HOOK\_\-CALL@{RT\_\-OBJECT\_\-HOOK\_\-CALL}!KernelObject@{KernelObject}}
\subsubsection[{RT\_\-OBJECT\_\-HOOK\_\-CALL}]{\setlength{\rightskip}{0pt plus 5cm}\#define RT\_\-OBJECT\_\-HOOK\_\-CALL(func, \/  argv)}}
\label{group__KernelObject_ga40f88eaca0029aea304a7757c85431b8}
The hook function call macro 

\subsection{类型定义文档}
\hypertarget{group__KernelObject_ga91d74b4f1699da278153af455dadcd70}{
\index{KernelObject@{KernelObject}!rt\_\-object\_\-t@{rt\_\-object\_\-t}}
\index{rt\_\-object\_\-t@{rt\_\-object\_\-t}!KernelObject@{KernelObject}}
\subsubsection[{rt\_\-object\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}typedef struct {\bf rt\_\-object}$\ast$ {\bf rt\_\-object\_\-t}}}
\label{group__KernelObject_ga91d74b4f1699da278153af455dadcd70}
Type for kernel objects. 

\subsection{枚举类型文档}
\hypertarget{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}{
\index{KernelObject@{KernelObject}!rt\_\-object\_\-class\_\-type@{rt\_\-object\_\-class\_\-type}}
\index{rt\_\-object\_\-class\_\-type@{rt\_\-object\_\-class\_\-type}!KernelObject@{KernelObject}}
\subsubsection[{rt\_\-object\_\-class\_\-type}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf rt\_\-object\_\-class\_\-type}}}
\label{group__KernelObject_ga38a532bcb1bd3f12685db4219b761b56}
The object type can be one of the follows with specific macros enabled:
\begin{DoxyItemize}
\item Thread
\item Semaphore
\item Mutex
\item Event
\item MailBox
\item MessageQueue
\item MemHeap
\item MemPool
\item Device
\item Timer
\item Module
\item Unknown
\item Static 
\end{DoxyItemize}\begin{Desc}
\item[枚举值: ]\par
\begin{description}
\index{RT\_\-Object\_\-Class\_\-Thread@{RT\_\-Object\_\-Class\_\-Thread}!KernelObject@{KernelObject}}\index{KernelObject@{KernelObject}!RT\_\-Object\_\-Class\_\-Thread@{RT\_\-Object\_\-Class\_\-Thread}}\item[{\em 
\hypertarget{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52}{
RT\_\-Object\_\-Class\_\-Thread}
\label{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a548d26bb698e083d38bd8f0649441a52}
}]The object is a thread. \index{RT\_\-Object\_\-Class\_\-Timer@{RT\_\-Object\_\-Class\_\-Timer}!KernelObject@{KernelObject}}\index{KernelObject@{KernelObject}!RT\_\-Object\_\-Class\_\-Timer@{RT\_\-Object\_\-Class\_\-Timer}}\item[{\em 
\hypertarget{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12}{
RT\_\-Object\_\-Class\_\-Timer}
\label{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a29bccdc3303ac04a7e25d40fea97ab12}
}]The object is a timer. \index{RT\_\-Object\_\-Class\_\-Unknown@{RT\_\-Object\_\-Class\_\-Unknown}!KernelObject@{KernelObject}}\index{KernelObject@{KernelObject}!RT\_\-Object\_\-Class\_\-Unknown@{RT\_\-Object\_\-Class\_\-Unknown}}\item[{\em 
\hypertarget{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74}{
RT\_\-Object\_\-Class\_\-Unknown}
\label{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56a7fd1d3fe31dd8000703a6198bd919c74}
}]The object is unknown. \index{RT\_\-Object\_\-Class\_\-Static@{RT\_\-Object\_\-Class\_\-Static}!KernelObject@{KernelObject}}\index{KernelObject@{KernelObject}!RT\_\-Object\_\-Class\_\-Static@{RT\_\-Object\_\-Class\_\-Static}}\item[{\em 
\hypertarget{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec}{
RT\_\-Object\_\-Class\_\-Static}
\label{group__KernelObject_gga38a532bcb1bd3f12685db4219b761b56ac3a51281d7f8fee902e6324673d39cec}
}]The object is a static object. \end{description}
\end{Desc}

